Event Reports

Table Name: GXT_EVENTREPORTS_TBL

List

Request a list of event reports.

  • Request:

    Copy
    http://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Request&Type=List&SubType=GXT_EVENTREPORTS_TBL
  • Response:

    Copy
    1=Event Report 1&2=Event Report 2

Detail

Request the details of a specific event report.

  • Request:

    Copy
    http://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Request&Type=Detail&SubType=GXT_EVENTREPORTS_TBL&RecId=<RecId>
  • Response:

    Copy
    EventReportId=1&Name=Event Report 1&Type=2147483647&StartDate=1-1-2017T0:0:0&EndDate=31-12-2017T23:59:0&U0=43&DoorId0=0&DoorId1=1&AreaId0=16&AreaId1=17

Update

Update a specific event report.

  • Request:

    Copy
    http://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Command&Type=Submit&SubType=GXT_EVENTREPORTS_TBL&EventReportId=1&Name=Report
  • Response:

    Copy
    OK

Create

Create an event report.

To create an event report, use the same parameters as update but leave the EventReportId empty.

  • Request:

    Copy
    http://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Command&Type=Submit&SubType=GXT_EVENTREPORTS_TBL&EventReportId=&Name=Event Report 1&Type=2147483647&StartDate=1-1-2017T0:0:0&EndDate=31-12-2017T23:59:0&U0=43&DoorId0=0&DoorId1=1&AreaId0=16&AreaId1=17
  • Response:

    Copy
    OK

Delete

Delete a specific event report.

  • Request:

    Copy
    http://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Command&Type=Delete&SubType=GXT_EVENTREPORTS_TBL&RecId=<RecId>
  • Response:

    Copy
    OK

Parameters

Parameter

Display Name

Default Value

Description

EventReportId

Database ID

1

The Detail, Control and Delete APIs use this value as the RecId.

Name

Name

Event Report 1

 

Type

 

2147483647

This option is not used.

StartDate

Start Date

1-1-2017T0:0:0

 

EndDate

End Date

31-12-2017T23:59:0

 

U*

Users

43

 

DoorId*

Doors

0

 

AreaId*

Areas

16

 

Parameters that contain multiple values are documented as <Parameter Name>*, where * is the index of the value. See Programming.